home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Jun 88 / Building Block Question 6⁄19 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    2951766                         19-June-88        19:11
  2.  
  3. From:   WILSON6                         Wilson, Dave - Personal Concepts
  4.  
  5. To:     MACAPP$                         MacApp Interest List
  6.  
  7. Sub:    Building Block Question
  8.  
  9. Hi Folks,
  10.  
  11. What is the best way to choose the location of a building block that I want to
  12. use from many different MacApp programs. I am referring to a Unit like UTEView,
  13. except that it is not part of standard MacApp.
  14.  
  15. The choices seem to be:
  16.  
  17. 1. Place a copy of the Unit in each application's source code folder. This is
  18. wasteful, and makes it hard to update as new versions of the Unit are
  19. developed.
  20.  
  21. 2. Place the Unit in the "MacApp Source Files" folder. This is dangerous, since
  22. I often throw away the whole MacApp folder, when new versions are released.
  23.  
  24. 3. Place the Unit in it's own folder, inside the MPW folder. The problem is
  25. that I have to specify path names to this Unit in the Pascal USES statement,
  26. and in the Make files. I can handle the Make file path name by defining another
  27. path name as a Shell variable in User Startup. How can I handle the USES
  28. pathnames without hard-wiring them in each source code file that USES my
  29. building block?
  30.  
  31. Any suggestions would be appreciated.
  32.  
  33. Dave
  34.  
  35.  
  36.